package Test;

import static org.junit.Assert.*;

import org.junit.Test;

import customer.Display;

public class DisplayTest {

	@Test
	public void testCreate_display() {
		Display c = new Display();
		assertTrue(c.create_display() == 0);
	}

	@Test
	public void testConnect_db() {
		Display c = new Display();
		assertTrue(c.connect_db() == 0);
		assertFalse(c.connect_db() == 1);
	}

	@Test
	public void testPrint_db() {
		Display c = new Display();
		assertTrue(c.print_db() == 0);
	}

}
